package com.partners.service;

import com.partners.dao.dto.UserInfoOutputDTO;
import com.partners.dao.dto.UserInputDTO;
import com.partners.dao.bo.PermissionDO;
import com.partners.dao.bo.UserDO;
import com.partners.model.Paging;

import java.math.BigInteger;
import java.util.List;
import java.util.Map;

/**
 * @author liangyongle
 * @date 2018-12-04
 */
public interface UserService {


    Integer editUser(UserInputDTO userInputDTO);

    Map<String,Object> getUserListByUid(Paging paging, Integer uid,Integer returnType);

    UserInfoOutputDTO getUserInfo(Integer id);

    UserDO getUserById(Integer id);

    UserInfoOutputDTO getuserDetailById(Integer id);

    boolean hasPermission(Integer uid, Integer code);

    void isPermission(Integer uid, Integer code);

    Map<String,Object> getAllCustomerList(Paging paging, String name, BigInteger phone);

    void deleteUser(Integer id);

    UserDO getMyRecommondUser(Integer uid);

    void changePointShow(Integer uid, Integer show);

    Map<String,Object> getAllUserList(Paging paging, Integer returnType);
}
